<?php
class Services extends AppModel 
{
	public $name="Services";
	public $hasMany = array(
        'PeriodsDetail'
    );
	/*
$date = date('Y-m-d', strtotime( $this->data['Events']['date']));
        $this->data['Events']['date']=$date;
*/
  /*public function beforeSave($options=array())
  {
    $date = date('Y-m-d', strtotime( $this->data['Periods']['experition1']));
    $this->data['Periods']['experition1']=$date;

    $date = date('Y-m-d', strtotime( $this->data['Periods']['experition2']));
    $this->data['Periods']['experition2']=$date;

    $date = date('Y-m-d', strtotime( $this->data['Periods']['experition3']));
    $this->data['Periods']['experition3']=$date;
    return true;
  }*/





}